package com.miyu.common.pojo.cos;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 作用域表;
 * @author : MUYU
 * @date : 2022-5-10
 */
@ApiModel(value = "作用域表",description = "")
@Data
@Entity
@Table(name="cos_space")
public class CosSpace implements Serializable,Cloneable{
    /** 主键 */
    @Id
    @ApiModelProperty(name = "主键",notes = "")
    @Column(name = "space_id", nullable = false, length =32 )
    private String spaceId ;
    /** 域路径;多菜单显示位置 */
    @ApiModelProperty(name = "域路径",notes = "多菜单显示位置")
    @Column(name = "space_type", nullable = true, length = 90)
    private String spaceType ;
    /** 名称;显示域 */
    @ApiModelProperty(name = "名称",notes = "显示域")
    @Column(name = "space_name", nullable = true, length = 90)
    private String spaceName ;

}